﻿using JESAI.Application.Abstractions.Admin.Dtos.Dict;
using JESAI.Application.Abstractions.Dtos;
using JESAI.Application.Abstractions.DynamicApi.Dtos;
using JESAI.Biz.Data.Enums;
using JESAI.MonacoRoslynComplete.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace JESAI.Application.Abstractions.DynamicApi
{
    public interface IDynamicApiService
    {
        Task DeleteDynamicApi(string id);
        Task DeleteDynamicApis(string[] ids);
        Task<BasePageOutput<List<DynamicApiDto>>> QueryPageDynamicApis(QueryDynamicApiPageParam param);
        Task SetDynamicApi(DynamicApiInput input);

        Task<DynamicApiDto> GetDynamicApiByApiSign(string apiSign, HttpType httpType);
        Task<List<ICodeFileModel>> QueryScriptCodeFileList();
    }
}
